import allRoutes from "./generateRoutes"
let homeRoute = allRoutes.find(item => item.path === '/home')
let paymentRoute = homeRoute.children.find(item => item.path === 'payment')
let preorderRoute = homeRoute.children.find(item => item.path === 'preorder')

let dynamicRoute = {
    path: "/",
    children: [paymentRoute,preorderRoute],
    component: () => import(/*webpackChunkName:'layout'*/"@/layout/container.vue")
}

export default dynamicRoute